home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
prog
/
hcn305.arj
/
TUTOR09.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-04-21
|
703b
|
29 lines
program Tutor09;
{$N+,E+} {Required for floating point number handling}
uses
CRT,
GSOB_DBF,
GSOB_VAR;
var
MyFile : GSO_dBaseFld;
begin
ClrScr;
MyFile.Init('TUTOR1');
MyFile.Open;
MyFile.GetRec(Bttm_Record);
MyFile.LogicPut('PAIDFLAG',true);
MyFile.PutRec(MyFile.RecNumber);
MyFile.GetRec(Top_Record);
while not MyFile.File_EOF do
begin
write(MyFile.DelFlag:6,' ',MyFile.RecNumber:4,' ',
'PAIDFLAG is Set ',
MyFile.LogicGet('PAIDFLAG'));
if MyFile.LogicGet('PAIDFLAG') then
writeln('******')
else writeln;
MyFile.GetRec(Next_Record);
end;
MyFile.Close;
end.